﻿using System;
using System.Linq;
using Furesoft.Patterns.Observer;

namespace VisitorExample
{
    public class Fruit : Observable<Fruit>
    {
        private double price;

        public double Price
        {
            get
            {
                return this.price;
            }
            set
            {
                this.price = value;
                this.Notify();
            }
        }
    }
}
